package com.lys.eduservice.mapper;

import com.lys.eduservice.entity.EduVideo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * <p>
 * 课程视频 Mapper 接口
 * </p>
 *
 * @author Lyyyys
 * @since 2021-04-30
 */
public interface EduVideoMapper extends BaseMapper<EduVideo> {
    Integer getAllChapterCount(String chapterId);

    Integer deleteVideoByCourseId(String courseId);

    List<String> getVideosByCourseId(String courseId);
}
